Page({
  data: {
    products: [
      
      {
        id: 1,
        name: ' 华硕天选5Pro笔记本(R9-7940HX 16G1T)灰',
        price: 7999,
        image: "https://img10.360buyimg.com/n7/jfs/t1/229652/39/21762/145655/66bc0913F5d104bfc/8b2e01b4992f692a.jpg.avif",
        produce:'5万+条评价',
        produce1:'华硕自营官方旗 进店》',
        url: "/packageD/fl13/fl131"
      },
      {
        id: 2,
        name: '惠普暗影精灵10 16.1英寸游戏本 16G+1TB',
        price: 7999,
        image: "https://img12.360buyimg.com/n1/s450x450_jfs/t1/51082/37/26184/153443/66c30516Fc30878e6/7d3a29c0454fbd1d.jpg.avif",
        produce:'500+条评价',
        produce1:'惠普（HP）OMEN暗 进店》'
      },
      {
        id: 3,
        name: '玩家战神独显笔记本16G内存/512G固态硬盘',
        price: 4699,
        image: "https://img13.360buyimg.com/n1/jfs/t1/28189/31/21957/77151/66bf80fbF8243ec71/fb653e69adc16aba.jpg.avif",
        produce:'2万+条评价',
        produce1:'玩家战神笔记本旗舰店 进店》'
      },
      {
        id: 4,
        name: '联想游戏笔记本电脑16G+1TB R9000P ',
        price: 5999,
        image: "https://img12.360buyimg.com/n1/jfs/t1/100640/26/47525/91224/65f14f08F3f26a1dd/37e2817445d44a0e.jpg.avif",
        produce:'2000+条评价',
        produce1:'拯救者来酷生活拼购店 进店》'
      },
      {
        id: 5,
        name: '联想游戏笔记本电脑16G+1TB R9000P ',
        price: 9788,
        image: "https://img10.360buyimg.com/n7/jfs/t1/97999/33/48693/108174/66c0c9aeF08ac2b68/0d963c2ef26906a3.png.avif",
        produce:'2000+条评价',
        produce1:'拯救者来酷生活拼购店 进店》'
      }
      
      // 可以继续添加更多商品
    ]
  },

  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
